//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     彩票游戏实体类库
//     用户充值实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System;
using Dapper;
namespace CL.Game.Entity
{

    /// <summary>
    /// CT_UsersPayRefund 实体
    /// </summary>
    [Table("CT_UsersPayRefund")]
    public class UsersPayRefundEntity
    {

        /// <summary>
        /// 退款ID
        /// </summary>
        [Key]
        public long ReID { get; set; }

        /// <summary>
        /// 订单ID
        /// </summary>
        public long PayID { get; set; }

        /// <summary>
        /// 退款单号
        /// </summary>
        public string RefundNo { get; set; }

        /// <summary>
        /// 接口退款交易号
        /// </summary>
        public string RechargeNo { get; set; }

        /// <summary>
        /// 退款金额
        /// </summary>
        public long Amount { get; set; }

        /// <summary>
        /// 手续费
        /// </summary>
        public int FormalitiesFees { get; set; }

        /// <summary>
        /// 处理结果 0.退款处理中 1.退款成功 2.退款失败 3.退款失败,可以重复退款 4.退款需要工人线下干预
        /// </summary>
        public byte Result { get; set; }

        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? CompleteTime { get; set; }

    }
}
